</head>
<body>
<div class="f-sep10"></div>
<div class="f-sep10"></div>
<div class="m-hd m-tabs">
	<h2 class="u-tt">访客统计</h2>
	<ul id="tabs">
		<li> <a class="z-crt" href="#tab1"><span class="icon">&#xf05a;</span> 统计配置</a></li>
	</ul>
</div>
<div class="f-sep10"></div>
<div class="m-form">
	<form action="<?php echo url('admin_info/save'); ?>" method="post" id="form">
		<fieldset>
			<div class="formitm">
				<label class="lab" >token：</label>
				<div class="ipt">
					<input name="token" type="text" class="u-ipt" id="token" value="{$appconfig.token}" datatype="s" errormsg="token必须填写！" />
					<span class="Validform_checktip"></span> </div>
			</div>
			<div class="formitm">
				<label class="lab" >说明：</label>
				<div class="ipt">
					请在<a href="http://clicki.cn" target="_blank">clicki.cn</a>内注册帐号并将统计代码放入要统计页面的模板内，然后进入clicki的<a href="http://www.clicki.cn/main/#/setting/token/detail" target="_blank">API设置</a>获取token填入即可，本统计主要提供后台首页的7天内访问趋势展示。  </div>
			</div>
			<div class="formitm formitm-1">
				<button class="u-btn" id="submit" type="submit">保存修改</button>
				<button class="u-btn u-btn-c4" id="reset" type="button">重置</button>
				<span id="tip" class="load"></span> </div>
		</fieldset>
	</form>
</div>
</body>
<script>
Do.ready('base','form', function() {
	saveform('{$url(admin/index/home)}');
});
</script>